home *** CD-ROM | disk | FTP | other *** search
/ CD Schooolhouse Version 10.0 / CD Schooolhouse Version 10.0.ISO / pc / dos / misc / wiz / wiz.doc < prev    next >
Encoding:
Text File  |  1995-02-01  |  29.9 KB  |  828 lines

  1.  
  2.                 WIZ version 3.2
  3.                by Ray Van Tassle
  4.                1020 Fox Run Lane
  5.              Algonquin, Ill, 60102
  6.                 (708)-658-4941
  7.                    Feb 2, 1995
  8.  
  9.     WIZ program and manual copyright(c) 1990-1994 by Ray Van Tassle.
  10.  
  11.     Abstract:
  12.     WIZ is a lightning-fast file finder. It will find file(s)
  13.     based on full wildcard specifications (more powerful than
  14.     standard DOS wildcard), and can also filter by file size
  15.     and date.  It can:
  16.        * select only executable files (EXE, COM, BAT).
  17.        * select only archive files (ZIP, ARC, etc.)
  18.        * switch you to the disk\directory of a file that it found.
  19.        * execute a DOS command for each file it finds.
  20.        * look inside archives (ZIP, LZH, & ARJ)
  21.        * recursively look inside archives!
  22.        * Correct handling of the special files/directories created and
  23.          maintained by STACKER, DoubleDisk, DoubleSpace, DriveSpace,
  24.          Norton FILESAVE, and PCTOOLS DATA Sentry.
  25.  
  26.     It will look on multiple disk drives for all matching
  27.     filenames.  You can pre-specify several default lists of
  28.     disk drives for it to search.
  29.  
  30.  
  31.     WIZ program and manual copyright(c) 1990-1994 by Ray Van Tassle.
  32.  
  33.     WIZ is shareware, NOT freeware!!!
  34.  
  35.     You are granted a limited 21 day evaluation license. At the end
  36.     of that period, you should either delete it and stop using it,
  37.     or send in the registration fee of $20 ($15 if you don't want me to
  38.     send you a disk).
  39.  
  40.  
  41.  
  42.     MANUAL
  43.     ------
  44.     I was tempted to call this program YAFF (yet another file
  45.     finder), but I settled on WIZ.  This is a funny acronym for
  46.     "where is". But it's also short for WIZARD, because it's so
  47.     fast it seems like magic, and it's filename matching is so
  48.     powerful.
  49.  
  50.     It looks on one or more disks for all filenames (including
  51.     directories) that match the specified filename. By default, it
  52.     starts on drive C, and goes up until it runs out of disks.
  53.  
  54.     It has been tested, and works, with DOS 3.x, including Zenith
  55.     DOS 3.30, DOS 3.31, DOS 4.01, DOS 5.0, DOS6.2, and On-Track
  56.     partitioning software.  DOS 3.31+ have large
  57.     (greater than 32MB) partitions with more than 65,536 sectors.
  58.     Zenith DOS 3.30 and On-Track have large partitions by virtue of
  59.     using large sectors (1024, 2048, or 4096 bytes, rather than
  60.     512 bytes).
  61.  
  62.     WIZ normally prints out, for each matching file, the filename,
  63.     date, time, size, and path.  The files are NOT ordered or
  64.     sorted.  All "special" files (hidden, system) are
  65.     flagged with a left-pointing triangle after the filename.
  66.     Optionally, it will list the files in normal fully-pathed form
  67.     (e.g., C:\UTIL\PGMS\ABC.BAT), suitable for processing by a
  68.     program which expects normal filenames.  When the found file
  69.     is inside an archive (-l flag), it will be listed in a form
  70.     suitable for the archiver (e.g.,
  71.     "C:\UTIL\PGMS\FOO.ZIP FILE.EXE")
  72.  
  73.     I deemed that most of the time, people (including me) want it
  74.     to be FAST, rather than in some particular order.
  75.     As WIZ reads the disk, it tries to optimize the head
  76.     motion, so directories are not processed in order of path, but
  77.     in the order that WIZ thinks will be quickest.  However, it will
  78.     generally look at the files in a directory before it looks at
  79.     the sub-directories.  However (especially if you have
  80.     directories with lots of files and sub-directories), it may
  81.     show some files in a directory, then show sub-directories, then
  82.     show more files in the directory.
  83.  
  84.     WIZ will ignore STACKER, DUBLDISK, DRVSPACE, and DBLSPACE container 
  85.     files in the count of files & MB's scanned.  This file has 
  86.     attributes of RHS, and is named "STACVOL.0??", "DUBLSPAC.0??", 
  87.     "DBLSPACE.0??", or "DRVSPACE.0??"
  88.     
  89.     Likewise, WIZ will ignore the special hidden directories where
  90.     Norton's "FILESAVE" and PCTOOLS "DATAMON/SENTRY" move files that
  91.     have been deleted.  These tools & their directories are a super
  92.     undelete, and they are reported by DOS to have been deleted, but
  93.     the respective utilities really just have them tucked away in a
  94.     hidden place.  So WIZ treats these files as not being there, too.
  95.     
  96.  
  97.  
  98.     PERFORMANCE & Comparison with other file-find programs
  99.     ------------------------------------------------------
  100.     Some tests, run on a 486/33mhz, searching for a non-existent
  101.     file on a large disk partitioned into drives C thru J,
  102.     17,000 total files, 747MB in files, in 572 directories.
  103.  
  104.     WIZ 3.1        Target15    FFF45    Seek202
  105.     -------        --------    -----    -------
  106.     19.1        83.3        53.1    47.3       No cache
  107.     
  108.        The command used were:
  109.         WIZ c-j:*qwe*
  110.         TARGET -e -hidden cdefghij: "qwe"
  111.         FFF /e cdefghij: ".*qwe.*"
  112.         SEEK cdefghij:qwe*.* 
  113.     
  114.        Notes:
  115.         TARGET claims to have real regexp's but they aren't.
  116.         FFF appears to have real regexp's.
  117.     
  118.  
  119.     When used with a disk cache, of 2MB (2048K).
  120.  
  121.     WIZ 3.1        Target15    FFF45    Seek202
  122.     -------        --------    -----    -------
  123.     18.7        44.3        40.2    41.5    PC-CACHE v6.01
  124.      1.3        16.3         8.3    13.0     " 2nd command
  125.  
  126.     19.7        37.4        30.2    ?    SMARTDRV v5.0
  127.     19.5        37.8        29.8    ?     " 2nd command
  128.  
  129.     19.7        83.3        50.9    ?    HYPER386 v4.65 
  130.     16.1        53.5        36.7    ?
  131.  
  132.        The first line is just after clearing the cache.
  133.        The next is running the same command again, giving maximum 
  134.        advantage to the cache. In my testing, I have found that PC-CACHE 
  135.        seems to provide the best all-around performance.
  136.        In fact, with WIZ, SMARTDRV actually takes longer!!  Starting with 
  137.        WIZ v2.9, it momentarily disables SMARTDRV while it scans a disk.
  138.        
  139.  
  140.     ERRORLEVEL exit codes
  141.     ---------------------
  142.     0 = Normal exit.
  143.     1 = Normal exit. -g changes disk/path
  144.     2 = Bad command line.
  145.     255 = Internal error.
  146.  
  147.  
  148.     Error Messages
  149.     --------------
  150.     "INVALID directory:"
  151.         Encountered what appears to be an illegal directory
  152.         entry.  This is a clue for a corrupted disk, or a file
  153.         which is NOT a directory masquerading as one.
  154.  
  155.         "Can't tell if FAT-12 or FAT-16. Assuming FAT-16!"
  156.         Just what it says.  I've only seen this on networked
  157.         disk drives.  If you know how to RELIABLY tell what
  158.         type of FAT a disk has (other than going thru DOS),
  159.         please let me know.
  160.  
  161.     "malloc failed for FAT_buf!"
  162.         Can't allocate memory to read a FAT block.  Most
  163.         likely an internal error.
  164.  
  165.      "malloc failed for dir_sec_buf!"
  166.         Can't allocate memory to read in a directory sector.
  167.         Most likely an internal error.
  168.  
  169.     "Sorry, out of memory!!!"
  170.         You lose.
  171.  
  172.     "Can't open file:"
  173.         Failure to open an archive file.  Most likely a disk
  174.         error. Run CHKDSK.
  175.  
  176.     "Internal error in ZIP/LZH/ARJ file"
  177.         The data read from in archive file isn't as expected.
  178.         Most likely the archive has a new format, and WIZ
  179.         hasn't yet been updated.  'Course, the archive file
  180.         may be corrupted.
  181.  
  182.     "INVALID directory"
  183.         A sub-directory (whose name is displayed) is not valid.
  184.         Your directory structure has been corrupted.  You should
  185.         run a utility to fix it--Norton NDD or PC-TOOLS DISKFIX.
  186.  
  187.     "Can't recurse in this!"
  188.         The archive file cannot be recursively searched, because
  189.         it is compressed.
  190.  
  191.     NETWORK DRIVES
  192.     --------------
  193.     WIZ has been tested, and runs ok under several networks: 
  194.     Pathworks (Digital Equipment Corp), $25Network (Information Modes),
  195.     EBOX (Rupp).
  196.     Version 2.7 works on Novell, Lantastic, and other networks.
  197.  
  198.     CD-ROMS
  199.     -------
  200.     WIZ works on CD-ROM's.
  201.  
  202.     BUGS
  203.     ----
  204.     No known bugs.  However, WIZ mostly does not use DOS to
  205.     process a disk, so errors on my part, or a change in the disk
  206.     structure might break it.  The most major bug reported was on
  207.     huge disk partitions under MS-DOS 4.01.  This bug caused WIZ
  208.     to read a random block from the disk, and treat it as a
  209.     directory.  It made a valiant attempt to march down all the
  210.     phony sub-directories, and would actually run for quite a
  211.     while before printing one of the "malloc failure" messages.
  212.  
  213.     If you are having problems, try 1) use the "-v" switch, to
  214.     isolate the error to a specific disk,  2) use "-vv", to see
  215.     as it hits each sub-directory,  3) use "*.*" to see all the
  216.     files, and watch until it walks off the edge of the world.
  217.     Then call or write me.
  218.  
  219.  
  220.     Command Line format and Switches
  221.     --------------------------------
  222.  
  223.     WIZ [disks:]file_pattern [-sN] [-dN] [-p] [-pp] [-gN] [-x] [-mN] 
  224.         [-e] [-qS] [-n] [-4]
  225.         [-a] [-v] [-l[b][l]]  [-cS] [-?] [>output-file-name]
  226.  
  227.     As usual, the stuff inside the square brackets "[]" are
  228.     optional and may be present or omitted. You do NOT include
  229.     the brackets in your command line.
  230.     The various fields and options may appear in any order, in
  231.     either upper or lower case.
  232.     The switch character can be either "-" or "/".
  233.  
  234.     You can have more than one set of "[disk:]pattern", and it
  235.     does the correct thing. That is, it scans each set in turn.
  236.     So you can say: "WIZ c:pyro* cd:*.cfg *.ovr".
  237.  
  238.     In order to fix a possible usage mistake (and to follow the syntax
  239.     of other filefind programs), WIZ will accept a space between the ":"
  240.     and the pattern.  So, "WIZ c:pyro" acts the same as "WIZ c: pyro"
  241.  
  242.     Except for size (-s) and date (-d), the options may be run
  243.     together.
  244.     For example: "WIZ -g20xp"   is the same as  "WIZ -g20 -x -p".
  245.  
  246.  
  247.  
  248.     If you just invoke WIZ without any parameters, it gives you a
  249.     brief help line.  For more info, include '-?'.  For even more,
  250.     include '-??'.
  251.  
  252.     If you leave out a pattern, but do have switche(s), WIZ assumes
  253.     that you want a pattern of "*".
  254.  
  255.     Disk(s): & filename_pattern
  256.     ---------------------------
  257.     1) [disks:]pattern
  258.     2) pattern
  259.     3) :pattern
  260.  
  261.     With format 1, you specify the disk(s) you want it to look at,
  262.     followed by ":".  It will look at those drives, in the order
  263.     you listed them.  If you list the same one twice, it will look
  264.     at it twice.  You can specify a range of disks by using a
  265.     dash--"C-F" is the same as "CDEF".
  266.  
  267.     With format 2, it will look at all drives beginning with C. It
  268.     will stop when it hits a drive that it cannot read.
  269.  
  270.     With format 3, it will look at all drives beginning with A. It
  271.     will stop when it hits a drive that it cannot read, except A &
  272.     B.  If the floppy drive has a disk in, it will look at it,
  273.     otherwise it will ignore the floppy drive.
  274.  
  275.     If you have only one floppy drive, WIZ will check to see if DOS
  276.     last used it as A or B, and will skip the other drive letter
  277.     (B or A).
  278.  
  279.     You do not (and cannot) specify path or directory names,
  280.     because WIZ searches an entire disk.
  281.  
  282.  
  283.     Processing Disk(s) and Environment Variable
  284.     -------------------------------------------
  285.     You can over-ride the disks that WIZ looks at, and their
  286.     order, by making an environment variable "WIZ".  Do:
  287.     "SET WIZ=floppy-disk-list:hard-disk-list". Example:
  288.     "SET WIZ=AB:C-M".  What actually happens is that WIZ will
  289.     try to read all the disks to the left of the colon, then all
  290.     those to the right of the colon.  Those on the left are
  291.     deemed to be floppies, and it will keep going if it can't
  292.     read one.  Those on the right are deemed to be hard drives,
  293.     and it will quit on the first one that it can't read.
  294.     
  295.     You may omit the "default" disk set by leaving a space after
  296.     the "=".  This is most useful when you need only to put the
  297.     "/M" switch, as: "SET WIZ= /M".
  298.     
  299.     
  300.     If you specify disks on the command line, it will try to read
  301.     them all, even if it can't read one.
  302.  
  303.     The list may be discontiguous, (e.g., "C-FL-M").  This is
  304.     mostly useful if you are on a network, which tends to make
  305.     the networked disks at the higher letters, and leaves a hole
  306.     before them.
  307.  
  308.  
  309.     Pre-defined Drive Sets
  310.     ----------------------
  311.     You can actually have several pre-defined sets of disks to
  312.     search. If the disk-specifier on the command line is a single
  313.     digit (0-9), it will look for that specifier in the WIZ
  314.     variable.  For example, you might say:
  315.         "SET WIZ=AB:C-F  1=CDEF 2=AB:  3=C-Z 4=C-Z:"
  316.  
  317.     As above, those to the left of the colon are deemed floppies,
  318.     and WIZ will keep going if it can't read one; those to the
  319.     right are hard drives, and WIZ will quit if it can't read one.
  320.     However, if there isn't a colon, then they are ALL deemed to
  321.     be hard drives.
  322.  
  323.     The command "WIZ z.z", will look on ABCDEF.
  324.     The command "WIZ 1:z.z", will look on CDEF.
  325.     The command "WIZ 2:z.z", will look on AB.
  326.     The command "WIZ 3:z.z", will look on all drives C-Z (and
  327.         will quit at the first on that it can't read).
  328.     The command "WIZ 4:z.z", will look on all drives C-Z (and it
  329.         will attempt to read each and every one of them).
  330.     The command "WIZ 9:z.z", will give an error message.
  331.  
  332.  
  333.  
  334.  
  335.  
  336.     PATTERN:
  337.     --------
  338.     I call it "pattern" rather than "filename", because WIZ
  339.     does a full pattern-match against the actual filenames it
  340.     reads from the disk.  The pattern has four special characters
  341.     (called meta-characters), plus all the other characters
  342.     possible in a filename.
  343.     (These are the same wildcard patterns as in 4DOS.)
  344.  
  345.     1)  "*" (star)
  346.     2)  "?" (question mark)
  347.     3)  "[" (square bracket)
  348.     4)  "." (dot),
  349.  
  350.  
  351.     1) "*"    This is the "rubber" wildcard meta-character.  The
  352.         star will match as many characters as possible, from
  353.         none to the entire filename.  It is "rubber", because
  354.         it will shrink & stretch to match as many characters
  355.         as required.
  356.  
  357.     2) "?"    This is the "single" wildcard meta-character.  It will
  358.         match exactly ONE character in the filename.
  359.  
  360.     3) "[...]" This will match any single character within the brackets,
  361.         including a range of characters.  For example:
  362.              [abcw-z] will match any of:
  363.             a or b or c or w or x or y or z
  364.         If the very next character after the "[" is a "!", then
  365.         it is inverted---this will match any character that 
  366.         is NOT specified.  For example:
  367.              [!aeiou] will match any character EXCEPT a vowel.
  368.  
  369.     4) "."  This is the "separator" meta-character (it is NOT a
  370.         wildcard character).
  371.         If you specify a dot in the pattern, the disk filename
  372.         (and the pattern) is treated as having two parts,
  373.         one before the dot, and one after the dot.
  374.         Each part undergoes it's own pattern matching.
  375.  
  376.     If you don't have any meta-characters in the filename pattern,
  377.     WIZ appends a "*" on the end of what you specified.
  378.  
  379.     Proper pattern matching (like WIZ does) is almost a D.W.I.M.
  380.     (do what I mean) operation.  DOS's wildcards are so primitive
  381.     that it is professionally embarrassing.  Not only that, but the
  382.     pattern-matching subroutine in WIZ is only a couple of dozen
  383.     lines of code.  And it's surprisingly fast.
  384.  
  385.     To give some examples:
  386.     *A*     means:
  387.         any file which has an A anywhere in it, on either side
  388.         of the dot.
  389.  
  390.     Z*    Any file that starts with a Z
  391.         (ZZBC.BAT    Z.Z)
  392.  
  393.     ?.    Any filename that has exactly one character in it, and
  394.         has no extent.  (A.   B.   but not    AB.   or A.BAT)
  395.  
  396.     ?*      Any filename that isn't totally blank.
  397.  
  398.     A*T    any file that starts with A and ends with T in the
  399.         extent. (ABCDE.BAT     A.T    AB.ERT but not ABCERT.)
  400.  
  401.     A*T.    any file that starts with A and ends with T, and
  402.         has no extent. (ABCERT.      but not ABCERT.RST)
  403.  
  404.     A*T.*    any file that starts with A and ends with T, whether or
  405.         not it has an extent.
  406.         (ABCERT.    ABCERT.RST    ABCDET.COM)
  407.  
  408.     A*B*Z.* any file that starts with A, then somewhere to the right
  409.         has a B, then ends with Z, and has any extent.
  410.         (ABZ.BAT    AMNOBPQRZ.   ABYXZ.COM)
  411.  
  412.     *.C    any file with an extent of C
  413.  
  414.     W*.C    any file that starts with W and has a C extent. (W.C
  415.         WIZ.C  WIZ14.C)
  416.  
  417.     W*4.C    any file that starts with W, ends with 4, and has an
  418.         extent of C.
  419.  
  420.     ???.C    any file that has exactly 3 characters in the name, and
  421.         an extent of C.
  422.  
  423.     Directories also participate in the filename matching.  A lot
  424.     of other whereis programs don't tell you about directory names
  425.     that match.  I find this annoying, because many times I can
  426.     remember the directory name (or at least part of it), but not
  427.     the file names.  This is especially true for things that I
  428.     have downloaded.  Since directories normally don't have an
  429.     extent (although they can), for matching purposes a directory
  430.     that does not have an extent is treated as if it has a blank
  431.     extent, so it has a dot.  But when it is printed out, this
  432.     implied dot isn't printed.
  433.  
  434.     POPDROP.  will match the directory name "POPDROP"
  435.           and the filename "POPDROP.", but not "POPDROP.COM"
  436.  
  437.     POPDROP.* will match all of the above
  438.  
  439.     POPDROP   will match all of the above, but also POPDROP2.COM
  440.           etc.
  441.  
  442.  
  443.  
  444.  
  445.     -s Size qualifier
  446.     -----------------
  447.     Files may be further filtered by their size. Either or both
  448.     minimum and maximum size may be specified. A file will match
  449.     only if it's size falls between the two limits, inclusive.
  450.     Note that a directory, while it is really a file, is not
  451.     considered to have a size, so directories will NEVER show up
  452.     if you give a size qualifier. This gives a way to never show
  453.     directories: just add "-s0".  All other files have a size
  454.     that is greater than or equal to zero.
  455.  
  456.     -s[low_limit][:hi_limit]
  457.  
  458.     -s100        Files that are 100 or more bytes large.
  459.  
  460.     -s:10000    Files that are 10000 or less bytes large.
  461.  
  462.     -s500:600    Files whose size is greater than or equal to
  463.             500 bytes, and less than or equal to 600 bytes.
  464.  
  465.     -s1000:1000    Files that are exactly 1000 bytes large.
  466.  
  467.  
  468.  
  469.     -d Date qualifier
  470.     -----------------
  471.     Files may also be filtered by date.  Either or both
  472.     lowest & highest date may be specified. A file will match
  473.     only if it's date falls between the two limits, inclusive.
  474.  
  475.     -d[low_date][:high_date]
  476.  
  477.     The format for date is MM/DD/YY or MM-DD-YY or "*" or "*-N".
  478.     The year can be given as either "91" or "1991".  
  479.     "*" means the current date.
  480.     "*-N" means "N" days before the current date.
  481.     
  482.     -d1/1/90    Files dated on or after Jan 1, 1990.
  483.  
  484.     -d:12-31-87    Files dated on or before Dec 31, 1987.
  485.  
  486.     -d1-1-90:12-31-1990  Files dated anytime in 1990.
  487.  
  488.     -d12/12/90:11/11/90  No files---it's impossible for a file to
  489.             be dated after Dec 12, 1990 and before
  490.             Nov 11, 1990 (inclusive)
  491.     -d*        Files dated today or after today.
  492.     -d:*        Files dated before today.
  493.     -d*:*        Files dated today only.
  494.     -d*-10        Files dated within the last 10 days.
  495.     -d*-365        Files dated within the last year (365 days).
  496.     
  497.  
  498.     -e    Extended precision in time display
  499.     ----------------------------------------
  500.     Displays seconds also in the date/time information.
  501.  
  502.     -4    Look at 4DOS file descriptions
  503.     ------------------------------------
  504.     Rather than looking at filenames, WIZ will look at the 4DOS
  505.     (and NDOS) file descriptions (found in a hidden file in
  506.     each directory, named DESCRIPT.ION).  The default without any
  507.     "?" or "*" in the pattern is changed to be "*pattern*", so that
  508.     it will find any occurance of the word(s) you give.
  509.     With this option, WIZ will just print the path, filename, and
  510.     description.  Date and size are not examined, so they can't be
  511.     used as a filter, and will not be printed.
  512.  
  513.     -n    Skip over network drives
  514.     ------------------------------
  515.     Many network drives can only be accessed in the "proper" way.
  516.     This slows down WIZ quite a bit.  This option will force WIZ to
  517.     omit any drive that it figures requires this slow access method.
  518.     Novell and Lantastic are two networks that will be slow.  
  519.     Little-Big-Lan (by Information Modes) is a great little lan that
  520.     allows WIZ to use it's fast access method.
  521.  
  522.     -p    List in canonical pathname format
  523.     ---------------------------------------
  524.     The matching files are listed in normal DOS format:
  525.         disk:\path\name.ext
  526.     If the "-l" flag ("look inside archives") is given,
  527.     the format is:
  528.         disk\path\archive-name.zip filename.ext
  529.  
  530.     Date, time, size are not given.  This type of list
  531.     is presumably going to be fed into a program as a
  532.     list of files, so directories will not be listed.
  533.     
  534.     -pp   List in pathname format, without header/trailer
  535.     -----------------------------------------------------
  536.     Same as "-p", except the header and trailer information
  537.     is omitted.  This is particularly useful when the output
  538.     is to be fed into another program, as a list of (only) matching
  539.     filenames.
  540.     
  541.     -q     Limit scan to certain path(s)
  542.     ------------------------------------
  543.     This will allow you to limit the search to certain directory
  544.     name(s).  The format is:
  545.             -qDIRECTORY-NAME
  546.       
  547.     If it starts with "\", then this is the path from the root.
  548.     If it doesn't, then this is the trailing part of the path.
  549.     If it ends with "\", then this is for all the subdirectories, too.
  550.     If it doesn't, then this is for only this directory, 
  551.     not any sub-directories.
  552.        
  553.     -qdos         Will scan files in "\dos",  "\abc\dos", but not 
  554.              "\abc\dos\xyz".
  555.     -q\dos         Will scan files in "\dos", but not "\abc\dos".
  556.     -q\abc\dos   Will scan files in "\abc\dos", but not "\dos".
  557.     -qdos\         Will scan files in "\dos", "\dos\abc", and 
  558.              "\abc\dos\xyz".
  559.     -qray\van    Will scan files in "\dos\ray\van", but not
  560.              "\dos\ray\xyz" or "\dos\ray\van\tmp".
  561.     -q\         Will scan only the root directory.
  562.  
  563.     
  564.     -g     Go to directory
  565.     ----------------------
  566.     This will change your path to the disk & directory of the
  567.     Nth file in the list of files that matched.  If you omit
  568.     N (or N is zero), it will ask you at each match if that is
  569.     where you want to go.
  570.  
  571.     If that file is a directory, WIZ will set the path to that
  572.     directory.  On the other hand, if it is a file, WIZ will set
  573.     the path to be the directory that the file is in.
  574.  
  575.     Obviously, if N is larger than the number of files that match,
  576.     nothing will happen.
  577.  
  578.     -g5    Will change to the path of the 5th listed file.
  579.     -g1    Will change to the path of the first listed file.
  580.     -g    Will ask you at each matched file if it should change
  581.         to the path of the listed file.
  582.  
  583.  
  584.     -x    Executable files
  585.     ----------------------
  586.     This switch will set a pre-filter, and select only executable
  587.     files (.BAT, .COM, .EXE) that pass the other filters (size,
  588.     date, pattern).  For this to work properly, the pattern should
  589.     either not have a dot, or terminate with ".*" (because this is
  590.     just an additional filter, albeit one with three holes).
  591.  
  592.     I added this because a lot of times I find myself looking for
  593.     a handy but seldom-used program, and I can never remember if
  594.     it's a COM or an EXE file.  And if I put "*FOO*.*", WIZ lists
  595.     everything, including the directory, DOC, README, etc.
  596.  
  597.  
  598.     -m    More (pause)
  599.     ------------------
  600.     Act like "MORE"--pause and wait for a key to be hit after each
  601.     screenful of lines have been displayed.  It checks how many
  602.     lines are actually displayed on the screen (25, 28, 43, 50, etc.)
  603.     You can give a number after the "m", and it will use that size
  604.     instead.
  605.  
  606.  
  607.     -a    Archive files
  608.     -------------------
  609.     This works just like "-x", except it's for archive files.
  610.     These are ZIP, ARC, LZH, ZOO, ARJ, PAK.
  611.  
  612.  
  613.     -v    Verbose
  614.     -------------
  615.     If you have this flag once, WIZ will print the disk name when
  616.     it starts as it starts on a disk.  If you have it twice
  617.     (-vv), it will also print the name of each directory as it
  618.     starts processing it.  This is mostly useful for trouble
  619.     shooting, or to see a progress indication.
  620.  
  621.  
  622.     -l    Look inside archives
  623.     --------------------------
  624.     This switch will make it look inside archives (ZIP, LZH, and
  625.     ARJ archives only), for a matching filespec.  Note that all
  626.     the filters apply to the file INSIDE the archive, and NOT to
  627.     the archive itself.  The disk list will, however, still
  628.     specify the disks to look at.
  629.  
  630.     Both PKZIP and ARJ come with information on the internal
  631.     format of their archive files, including the header.  Neither
  632.     LHARC nor LHA do, but it was pretty easy for me to figure
  633.     out.  I do ZIP's because that is currently the most common
  634.     type of archive.  LHA compresses smaller, but lacks a few
  635.     features, and is slower in compressing.  ARJ is the BEST.  It
  636.     packs 5% - 10% tighter than ZIP (but is slower in
  637.     compressing), and includes all the nice features of ZIP,
  638.     including encryption, comments, etc, and also can
  639.     automagically create a segmented archive, so you can put a
  640.     huge archive onto several floppy disks, without having to use
  641.     SLICE/SPLICE.  It also comes with a handy utility to convert
  642.     any other archive type to ARJ's.  I didn't do any other
  643.     archivers, because 1) I don't have information on the
  644.     internal format, 2) these three are the most common, and
  645.     best, and 3) I don't want WIZ to get any larger than
  646.     necessary.
  647.  
  648.     -ll    Look inside archives recursively
  649.     ---------------------------------------
  650.     This switch will tell WIZ that you want it to also look
  651.     inside archives that are themselves in an archive.  Naturally,
  652.     WIZ can only do this if the inside archive is "stored" (no
  653.     compression).  However, ARJ and PKZIP v2, can (and WILL)
  654.     compress a ZIP file as it adds it to an archive!!
  655.  
  656.     In the output, these show up with a "@" where you would
  657.     normally see "\", which indicates that it's "kind of like" a
  658.     path.  If this pseudo-pathname gets too long, a "+" is tacked
  659.     on at the end, instead of the actual filename; one for each
  660.     level that is being omitted.
  661.  
  662.     You can also use the "-c" switch, but the filename that
  663.     replaces the "*" in the command won't make any kind of sense
  664.     to DOS, ARJ, LHA ZIP, etc., because of the "@" characters.
  665.  
  666.     -b    Both
  667.     ------------
  668.     This switch is used with "-l" to look both at normal files,
  669.     and inside archives.
  670.  
  671.  
  672.  
  673.     -c    Execute a command
  674.     -------------------------
  675.     This lets you execute a DOS command for each matching file.
  676.     The format is '-cCOMMAND' or '-c COMMAND'. However, if the
  677.     COMMAND has any special characters (space, |, <, >, etc.) you
  678.     must enclose it in quotes: '-c"COMMAND"'.
  679.  
  680.     Each occurance (if any) of the character "*" in the command is
  681.     replaced by the complete file-name (including disk and path).
  682.  
  683.     WIZ will spawn a new copy of the command-line shell
  684.     (COMMAND.COM, 4DOS, etc.), and pass it the built command. The
  685.     one exception is that the command "del*" or "del *" (to
  686.     delete the file) is handled internally by WIZ itself.  (Note
  687.     that you can use the form: '-cdel*', and you do not need a
  688.     space before the '*', nor do you need to enclose the command
  689.     in quotes.)  For this command, WIZ will prompt you to confirm
  690.     each file to be deleted.  (I did this because deleting files
  691.     is a handy thing to do, and it's quicker to do it inside of
  692.     WIZ than to spawn a shell to do it.  But I'm no fool!! You
  693.     have to confirm that you want delete, for each file.  No
  694.     way am I going to let it merrily delete every file on my
  695.     disk(s) just because I make one little mistake on the command
  696.     line!!)   If you prefer to have the shell handle the file
  697.     deletions, use "erase *" or "delete *".
  698.  
  699.     You can't do "-cdel*" along with "-l".  If you have given the
  700.     -l switch, the '*" is replaced with the complete filename of
  701.     the archive (.ZIP, .LZH, .ARJ), a space, and then the
  702.     filename.
  703.  
  704.     Examples:
  705.         -c"type *"    -- type each matching file
  706.         -c"more <*"    -- ditto, with a pause for each page
  707.         -c"copy * a:\"    -- copy each matching file to A:
  708.         -c"set"        -- display the environment at each
  709.                    matching file.
  710.         -c"pkunzip *"    -- extract matching files from a ZIP
  711.                    archive.
  712.  
  713.  
  714.  
  715.  
  716.  
  717.     Coming Attractions
  718.     ------------------
  719.     An interactive screen interface.
  720.     It will gather the file names instead of just printing them
  721.     out.  Then you will be able to sort by name, extent, disk,
  722.     date, size.  You'll also be able to tag files and delete, copy,
  723.     move them, and find duplicates.
  724.     Plus other things I think of, or get suggested.
  725.  
  726.     This is shareware, so I'm probably more interested and 
  727.     receptive in hearing comments and suggestions than a commercial 
  728.     software publisher would be.  Just send them in, or give me a 
  729.     call.  I can't promise to fix bugs, or add specific features, 
  730.     but I'll listen to everything.  Even if you're cheap and 
  731.     haven't registered.
  732.  
  733.     
  734.     BBS Support & New Versions
  735.     --------------------------
  736.     There is no "official" support BBS.  However, I frequent a couple
  737.     of local BBS's:
  738.         Chicken Coop       (708)658-1545   RIMENET =>THECOOP
  739.         Emporium           (708)551-4275   Fidonet 1:155/551
  740.         Rainbow Draggin'  (708)854-1696      In my basement
  741.         
  742.  
  743.     ********
  744.     Programming notes (if anyone is interested):
  745.  
  746.     The way I scan thru the disk, it pretty much sweeps thru
  747.     the disk from front to back, without (much) hopping back &
  748.     forth.  So it scans the 1st cluster of ALL the directories
  749.     and sub-directories on the disk, then makes a pass thru the
  750.     FAT (from start to end within the FAT), and so on.
  751.  
  752.     This optimization of head movement really helps to speed it
  753.     up, especially if you don't have a fast disk.  The
  754.     unfortunate side effect is that it looks at a directory one
  755.     chunk at a time, interspersed with chunks of other
  756.     directories.  But it sure is fast!!
  757.  
  758.  
  759.  
  760.                            --------------------------
  761.                              INVOICE / REGISTRATION
  762.                            --------------------------
  763.  
  764.  
  765.  
  766.           Sold to: ___________________________________________________
  767.  
  768.                    ___________________________________________________
  769.  
  770.                    ___________________________________________________
  771.  
  772.  
  773.              Date: ______________________________
  774.  
  775.  
  776.           ============================================================
  777.  
  778.  
  779.     I will normally send you the latest version on 5 1/4" disk.
  780.     Add $2 for 3 1/2" disk. (Net $22)
  781.     Deduct $5 (per copy) if you DON'T want me to send you a disk!
  782.  
  783.           _____ copies of WIZ version 3.2 at $20 each $____________
  784.  
  785.           _____ copies of RCD version ___ at $20 each $____________
  786.  
  787.           _____ add $2 for 3.5" disk              $____________
  788.  
  789.       _____ deduct $5 per copy for no disk (net $15)
  790.  
  791.         DISCOUNT for registering both is
  792.         $5 off.                  ____________
  793.  
  794.  
  795.  
  796.                                 TOTAL ENCLOSED.......  $____________
  797.     NOTE:
  798.     If you have the current version, I will send you
  799.     a disk with the NEXT version, when I release it,
  800.     unless you check here:
  801.  
  802.     Ray, YES, send me a disk NOW, even though I already
  803.     have the current version:  [__]
  804.  
  805.  
  806.  
  807.  
  808.       Where did you get your copy of WIZ?
  809.       Shareware distributor name:___________________
  810.       BBS name: ____________________
  811.       BBS phone #:  ____________________
  812.  
  813.  
  814.                       Send this invoice and your check to:
  815.  
  816.                 Ray Van Tassle
  817.                 1020 Fox Run Lane
  818.                 Algonquin, Il. 60102
  819.                 (708)-658-4941
  820.  
  821.  
  822.  
  823.  
  824.           =============================================================
  825.  
  826.           Thank you for your support ............... Ray Van Tassle
  827.  
  828.